// it's just api for login/logout/refreshtoken...
import http from '../index'


//注册
export const register = data =>{
	return http.request({
		url: `/recognition/app_user/register`,
		method: "GET",
		data
	});
}




export const login = data =>{
	return http.request({
		url: `/recognition/app_user/login`,
		method: "GET",
		data
	});
}



//list


export const list = data =>{
	return http.request({
		url: `/recognition/scan_type/list`,
		method: "GET",
		data
	});
}



export const getRecord= data =>{
	return http.request({
		url: `/recognition/scan/record`,
		method: "GET",
		data
	});
}
